home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / text / hyper / ADtoHT2_0.lha / Includes.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-02-28  |  1.2 KB  |  56 lines

  1. #ifndef INCLUDES_H
  2. #define INCLUDES_H
  3.  
  4. #ifndef MAIN_H
  5. #include "main.h"
  6. #endif
  7.  
  8. #ifndef FILE_H
  9. #include "File.h"
  10. #endif
  11.  
  12. /************************************************************************/
  13.  
  14. struct IncludeFileNode
  15.   {
  16.     struct AnyNode AnyNode;    /* name is filename (dos/dos.h) */
  17.     char *LinkName;
  18.   };
  19.  
  20. extern struct AVLTree IncludeFileTree;
  21.  
  22. /************************************************************************/
  23.  
  24. struct IncludeItemNode
  25.   {
  26.     struct AnyNode AnyNode;
  27.     struct IncludeItemNodeNode *Entries;
  28.     int Function;
  29.   };
  30.  
  31. /************************************************************************/
  32.  
  33. struct IncludeItemNodeNode
  34.   {
  35.     struct IncludeItemNodeNode *Next;
  36.     struct IncludeFileNode *IncludeFileNode;
  37.     struct IncludeItemNode *IncludeItemNode;
  38.     ULONG Line;
  39.   };
  40.  
  41. extern struct AVLTree StructureTree;
  42. extern struct AVLTree UnionTree;
  43. extern struct AVLTree TypedefTree;
  44. extern struct AVLTree DefinesTree;
  45.  
  46. /************************************************************************/
  47.  
  48. void ProcessIncludeFile1 (char *);
  49. void ProcessIncludeFile2 (struct IncludeFileNode *);
  50.  
  51. void WriteIdentifier (struct Word *, struct IncludeFileNode *);
  52.  
  53. /************************************************************************/
  54.  
  55. #endif /* INCLUDES_H */
  56.